< previous page page_721 next page >

Page 721
On the browser side, the returned HTML stream has evolved quite a bit since the Web's first days. In addition to formatted text and graphics, Web pages can include script code and Java applets. These advances were made possible by the increasing complexity of the Internet browser, which has evolved to support all these embedded objects. ActiveX documents, discussed in this chapter, are applications downloaded to the client's desktop by Internet Explorer (IE).
What Is an ActiveX Document?
Put in simplest terms, an ActiveX document is an application that runs inside a container, such as Internet Explorer, instead of running as a standalone program. An example of such an application is shown in Figure 32.1.
note.gif Even though you can use an ActiveX document inside Internet Explorer, you must have all the required runtime DLLs installed on the client machine. square.gif

0721-01.jpg
Figure 32.1
This simple ActiveX document
is running in Internet Explorer.
The ''document" portion of the name comes from the analogy to word processing documents or spreadsheets. These files contain data but must be accessed by a program in order to be viewed or edited. For example, you can create a document in Word and store it in a file. If you pass the file along to another user, that user can't do anything with it unless he or she has a copy of Word. An ActiveX document works much the same way. You can create an ActiveX document and store it in a file. If you pass the file to someone else, that person must have a program capable of supporting ActiveX documents before being able to use the file.
Fortunately, several containers support ActiveX documents, including Internet Explorer, Microsoft Office 97 binders, and the Visual Basic IDE. Your users can run your program inside one of these container applications.

 
< previous page page_721 next page >